package com.evil.application.pojo.dto.process.node;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 节点控件返回实体
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
public class NodeControlReqDTO {

    /**
     * 应用key
     */
    @NotBlank(message = "应用key不能为空")
    private String applicationKey;

    /**
     * 节点id
     */
    private Long nodeId;

    /**
     * 是否发起订单
     */
    private Boolean create;

    public NodeControlReqDTO() {
        this.create = false;
    }
}
